<template>
<div>
  <bread ref="bread"></bread>
</div>
</template>

<script>
import bread from "@/components/bread";
export default {
  name: "reports",
  components:{ bread },
  data(){
    return{
      breadList:[]
    }
  },
  async created(){
    const { data: res } = await this.$http.get('menus')
    this.breadList.push(res.data[4].authName)
    this.breadList.push(res.data[4].children[0].authName)
    this.$refs.bread.getBreadList(this.breadList)
  }
}
</script>

<style scoped>

</style>
